package control

import (
	"JVM/Jvmgo/GoToJVM/instructions/base"
	"JVM/Jvmgo/GoToJVM/runtimeData"
)

/*
	无条件跳转指令
*/

type GOTO struct {
	base.BranchInstruction
}

func (self *GOTO) Execute(frame *runtimeData.Frame) {
	base.Branch(frame, self.Offset)
}
